import hashlib
def main():
    digester=hashlib.md5()
    with open('Python-3.9.5.tar.xz','rb') as filestream:
        for data in iter(lambda:filestream.read(1024),b''):
            digester.update(data)
    print(digester.hexdigest())
if __name__ == '__main__':
    main()
   